package com.leha.mp.core.services;

import com.leha.mp.core.Utils.Page;
import com.leha.mp.core.entity.mybatis.PlCase;
import com.leha.mp.core.entity.mybatis.PlDoctorComment;
import com.leha.mp.core.entity.mybatis.PlOrder;
import com.leha.mp.core.entity.vo.DoctorBaseInfoVo;
import com.leha.mp.core.entity.vo.UserLoginVO;
import com.leha.mp.core.entity.vo.VipDoctorInfo;

import java.util.List;

public interface AppUserService {
    UserLoginVO SaveInfo(Integer appId, Integer uid, String sessionKey, String encryptedData, String iv);
    UserLoginVO Enter(Integer appId, String code);
    List<DoctorBaseInfoVo> getMyDoctor(Integer uid);
    Boolean SavePhone(Integer uid, String phone);

    Boolean saveCase(PlCase ucase);

    String getOpenId(Integer userId);

    List<PlOrder> getUserOrders(Integer userId, Integer type, Page page);

    PlDoctorComment getMyEvaluate(Integer consutingId, Integer userId);

    List<VipDoctorInfo> getMyVipDoctor(Integer userId);

    UserLoginVO GetUserInfo(Integer userId);
}
